package cn.gene.timeyan.pojo.coo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 浜掑姪璐翠俊鎭
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
/**
 * cyn
 */
public class ApplyByCooperationDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "揭榜上限", required = true)
    @Max(message = "揭榜上限", value = 10)
    private Integer applyLimit;

    @ApiModelProperty(value = "已揭榜数", required = true)
    @NotNull(message = "已揭榜数不能为空且不能大于揭榜上限")
    private Integer applyBelimit;

    @ApiModelProperty(value = "求助结束时间", required = true)
    @NotNull(message = "请输入求助结束时间")
    private Date endTime;

}
